package com.hospital.service.sample.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import enhance.plus.logic.LogicBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.springframework.stereotype.Component;

import java.util.List;


/**
 * 实验样本基本表 实体类
 *
 * @author lfb
 * @created 2020-10-10 15:51:40
 */
@Data
@ToString(callSuper = true)
@Accessors(chain = true)
@ExcelTarget("SamInfoBaseEntity")
public class SamInfoBaseEntity extends LogicBaseEntity{

    /**
     * 样本检索编号
     */
    @Excel(name = "检索编号", orderNum = "1", needMerge = true)
    private String samplesNumber;

    /**
     * 样本名称
     */
    @Excel(name = "检索名称", orderNum = "2", needMerge = true)
    private String samplesName;

    /**
     * 概述
     */
    @Excel(name = "概述", orderNum = "3", needMerge = true)
    private String summary;


    /**
     * 样本存放位置
     */
    @Excel(name = "样本存放位置", orderNum = "4", needMerge = true)
    private String samplesStorageLocation;

    /**
     * 分组检索编号**[外键]
     */
    @Excel(name = "分组检索编号", orderNum = "5", needMerge = true)
    private String groupNumber;

    /**
     *  特定组织细胞
     */
    @ExcelCollection(name = "特定组织细胞", orderNum = "7")
    private List<SamInfoDetailsEntity> samInfoDetailsEntityList;

}
